projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
329fc5d
)
Small fix for svg icons.
author
Matthias Clasen
<matthiasc@src.gnome.org>
Mon, 15 Aug 2005 03:57:04 +0000
(
03:57
+0000)
committer
Matthias Clasen
<matthiasc@src.gnome.org>
Mon, 15 Aug 2005 03:57:04 +0000
(
03:57
+0000)
gtk/updateiconcache.c
patch
|
blob
|
history
diff --git
a/gtk/updateiconcache.c
b/gtk/updateiconcache.c
index f38dde7352dec5a3371ab69be433ee6d653ec08d..ae2c38d6124a7a7baf3ad7fb56a69babb80ac574 100644
(file)
--- a/
gtk/updateiconcache.c
+++ b/
gtk/updateiconcache.c
@@
-869,7
+869,14
@@
write_bucket (FILE *cache, HashNode *node, int *offset)
}
else
{
- if (!write_card32 (cache, image->image_data->offset))
+ gint offset;
+
+ if (image->image_data)
+ offset = image->image_data->offset;
+ else
+ offset = 0;
+
+ if (!write_card32 (cache, offset))
return FALSE;
}